package com.hs.srm.admin.modules.inforecord.service;

import com.baomidou.mybatisplus.service.IService;
import com.hs.srm.admin.modules.inforecord.entity.SupplyGoodEntity;
import com.hs.srm.common.utils.PageUtils;

import java.io.File;
import java.util.Map;

/**
 * @author socik
 * @date 2019/6/13 13:22
 * @email socik@qq.com
 */
public interface SupplyGoodService extends IService<SupplyGoodEntity> {
    PageUtils queryPage(Map<String, Object> params);
    SupplyGoodEntity  selectByCode(String srmCode,String materilCode,String werks);

    PageUtils vendorFromSupplyGoods(Map<String, Object> params);


    /**
     * Excel批量导入货源记录价格功能
     */
    Map<String, Object> importData(File savedFile, String username);

    //保存导入的数据
    int saveImp();
}
